package com.chinasoft.set01.map;

import java.util.HashMap;
import java.util.Map;

public class Demo01 {
    public static void main(String[] args) {
        Map<String,String> map = new HashMap<>();

        //put(K key, V value)
        map.put("k1","v1");
        map.put("k2","v2");
        map.put("k3","v3");
        //map.put("k1","v4"); k不能重复

        System.out.println(map);

    }
}